import request from "@/utils/request";

//获取项目列表
export function projectData() {
  return request({
    url: "/project/list",
    method: "get"
  });
}

//筛选页面
export function finprojectID(projectId) {
  return request({
    url: "/page/list",
    method: "get",
    params: {
      projectId
    }
  });
}

//添加页面
export function addproject(obj) {
  return request({
    url: "/page/add",
    method: "post",
    data: obj
  });
}
//删除页面
export function delproject(obj) {
  return request({
    url: "/page/del",
    method: "post",
    data: obj
  });
}
//审核列表
export function auditList() {
  return request({
    url: "/examine/list",
    method: "get"
  });
}

//提交审核
export function addexamine(obj) {
  return request({
    url: "/examine/add",
    method: "post",
    data: obj
  });
}
